package redis;

import redis.clients.jedis.Jedis;

/**
 * 分布式锁
 * 
 * @author Administrator
 * 
 */
public class RedisLock {

	/**
	 * Acquire lock.
	 * 
	 * @param jedis
	 * @return true if lock is acquired, false acquire timeouted
	 * @throws InterruptedException
	 *             in case of thread interruption
	 */
	public synchronized boolean acquire(Jedis jedis) {
		
		return false;
	}
}
